<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .top {
            height: 100px;
            background-color: pink;
        }
        .footer {
            clear: both;
            height: 100px;
            background-color: yellowgreen;
        }
        .center {
            padding-left: 200px;
            padding-right: 250px;
        }
        .center div {
            position: relative;
            float: left;
        }
        .middle {
           width: 100%;
           background-color: black;
        }
        .left {
            margin-left: -100%;
            left: -200px;
            width: 200px;
            background-color: blue;
        }
        .right {
            margin-left: -250px;
            left: 250px;
            width: 250px;
            background-color: green;
        }
    </style>
</head>
<body>
    <div class="top">我是头</div>
    <div class="center">
        <div class="middle">中间</div>
        <div class="left">左边</div>
        <div class="right">右边</div>
    </div>
    <div class="footer"></div>
</body>
</html>